package org.example.domain;

import java.util.Date;

public class BorrowRecord {
    private Integer id;

    private String isbn;

    private Integer userId;

    private String borrowState;

    private String lifeState;

    private Date createTime;

    private Integer borrowManagerId;

    private Date preBorrowTime;

    private Date borrowTime;

    private Date preReturnTime;

    private Integer returnManagerId;

    private Date returnTime;

    private Date updateTime;

    private String remark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn == null ? null : isbn.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getBorrowState() {
        return borrowState;
    }

    public void setBorrowState(String borrowState) {
        this.borrowState = borrowState == null ? null : borrowState.trim();
    }

    public String getLifeState() {
        return lifeState;
    }

    public void setLifeState(String lifeState) {
        this.lifeState = lifeState == null ? null : lifeState.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getBorrowManagerId() {
        return borrowManagerId;
    }

    public void setBorrowManagerId(Integer borrowManagerId) {
        this.borrowManagerId = borrowManagerId;
    }

    public Date getPreBorrowTime() {
        return preBorrowTime;
    }

    public void setPreBorrowTime(Date preBorrowTime) {
        this.preBorrowTime = preBorrowTime;
    }

    public Date getBorrowTime() {
        return borrowTime;
    }

    public void setBorrowTime(Date borrowTime) {
        this.borrowTime = borrowTime;
    }

    public Date getPreReturnTime() {
        return preReturnTime;
    }

    public void setPreReturnTime(Date preReturnTime) {
        this.preReturnTime = preReturnTime;
    }

    public Integer getReturnManagerId() {
        return returnManagerId;
    }

    public void setReturnManagerId(Integer returnManagerId) {
        this.returnManagerId = returnManagerId;
    }

    public Date getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(Date returnTime) {
        this.returnTime = returnTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}